package com.ruoyi.common.core.domain.entity;


import com.ruoyi.common.core.domain.BaseEntity;

import java.util.ArrayList;
import java.util.List;

/**
 * 渠道分类对象 t_channel_sort
 * 
 * @author yanghuiliao
 * @date 2022-11-29
 */
public class ChannelSort extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 父部门ID */
    private Long parentId;

    /** 祖级列表 */
    private String ancestors;

    /** 部门名称 */
    private String name;

    /** 显示顺序 */
    private String sort;

    /** 描述 */
    private String des;

    /** 部门状态:0正常,1停用 */
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String deleteTag;

    /** 父部门名称 */
    private String parentName;

    /** 来源数量 */
    private String relevanceChannel;

    /** 获取第二级标识 */
    private String secondChild;

    /** 前端样式 */
    private String color;

    /** 前端图标 */
    private String icon;


    /** 子菜单 */
    private List<ChannelSort> children = new ArrayList<ChannelSort>();

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getAncestors() {
        return ancestors;
    }

    public void setAncestors(String ancestors) {
        this.ancestors = ancestors;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public String getDeleteTag() {
        return deleteTag;
    }

    public void setDeleteTag(String deleteTag) {
        this.deleteTag = deleteTag;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRelevanceChannel() {
        return relevanceChannel;
    }

    public void setRelevanceChannel(String relevanceChannel) {
        this.relevanceChannel = relevanceChannel;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public List<ChannelSort> getChildren() {
        return children;
    }

    public void setChildren(List<ChannelSort> children) {
        this.children = children;
    }

    public String getSecondChild() {
        return secondChild;
    }

    public void setSecondChild(String secondChild) {
        this.secondChild = secondChild;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }
}
